package org.jeecg.modules.act.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 活动报名支付表
 * @Author: jeecg-boot
 * @Date: 2019-09-04
 * @Version: V1.0
 */
@Data
@TableName("act_pay")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "act_pay对象", description = "活动报名支付表")
public class ActPay {

    /**
     * ID
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
    /**
     * 活动id
     */
    @Excel(name = "活动id", width = 15)
    @ApiModelProperty(value = "活动id")
    private java.lang.String actId;
    /**
     * 订单号
     */
    @Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String orderNo;
    /**
     * 用户id
     */
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
    /**
     * 支付
     */
    @Excel(name = "支付", width = 15)
    @ApiModelProperty(value = "支付")
    private BigDecimal pay;
    /**
     * 版本号
     */
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private java.lang.Integer version;
    /**
     * 支付方式 1 微信 2支付宝
     */
    @Excel(name = "支付方式 1 微信 2支付宝", width = 15)
    @ApiModelProperty(value = "支付方式 1 微信 2支付宝")
    private java.lang.Integer payType;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 修改人
     */
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 删除标识0-正常,1-已删除
     */
    @Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
    private java.lang.Integer delFlag;

    /**
     * 状态
     */
    @Excel(name = " '状态 0待支付 1已支付 2取消 -1支付失败',", width = 15)
    @ApiModelProperty(value = " '状态 0待支付 1已支付 2取消 -1支付失败'")
    private java.lang.Integer status;
}
